<div class="produtos form">

	<div class="row">
		<div class="col-md-12">
			<div class="page-header">
				<h1><?php echo __('Adicionar Produto'); ?></h1>
			</div>
		</div>
	</div>



	<div class="row">
		<div class="col-md-3">
			<div class="actions">
				<div class="panel panel-default">
					<div class="panel-heading">Actions</div>
						<div class="panel-body">
							<ul class="nav nav-pills nav-stacked">

								<li><?php echo $this->Html->link(__('<span class="glyphicon glyphicon-list"></span>&nbsp;&nbsp;Listar Produtos'), array('action' => 'index'), array('escape' => false)); ?></li>
								<li><?php echo $this->Html->link(__('<span class="glyphicon glyphicon-list"></span>&nbsp;&nbsp;Listar Tipo Produtos'), array('controller' => 'tipo_produtos', 'action' => 'index'), array('escape' => false)); ?> </li>
								<li><?php echo $this->Html->link(__('<span class="glyphicon glyphicon-plus"></span>&nbsp;&nbsp;Novo Tipo Produto'), array('controller' => 'tipo_produtos', 'action' => 'add'), array('escape' => false)); ?> </li>
								<li><?php echo $this->Html->link(__('<span class="glyphicon glyphicon-list"></span>&nbsp;&nbsp;Listar Fornecedores'), array('controller' => 'fornecedores', 'action' => 'index'), array('escape' => false)); ?> </li>
								<li><?php echo $this->Html->link(__('<span class="glyphicon glyphicon-plus"></span>&nbsp;&nbsp;Novo Fornecedores'), array('controller' => 'fornecedores', 'action' => 'add'), array('escape' => false)); ?> </li>
								<li><?php echo $this->Html->link(__('<span class="glyphicon glyphicon-list"></span>&nbsp;&nbsp;Listar entradas Estoque'), array('controller' => 'estoque_entradas', 'action' => 'index'), array('escape' => false)); ?> </li>
								<li><?php echo $this->Html->link(__('<span class="glyphicon glyphicon-plus"></span>&nbsp;&nbsp;Nova entrada no Estoque'), array('controller' => 'estoque_entradas', 'action' => 'add'), array('escape' => false)); ?> </li>
								<li><?php echo $this->Html->link(__('<span class="glyphicon glyphicon-list"></span>&nbsp;&nbsp;Listar saídas Estoque'), array('controller' => 'estoque_saidas', 'action' => 'index'), array('escape' => false)); ?> </li>
								<li><?php echo $this->Html->link(__('<span class="glyphicon glyphicon-plus"></span>&nbsp;&nbsp;Nova saída Estoque'), array('controller' => 'estoque_saidas', 'action' => 'add'), array('escape' => false)); ?> </li>
								<li><?php //echo $this->Html->link(__('<span class="glyphicon glyphicon-list"></span>&nbsp;&nbsp;Listar Estoque'), array('controller' => 'estoques', 'action' => 'index'), array('escape' => false)); ?> </li>
								<li><?php //echo $this->Html->link(__('<span class="glyphicon glyphicon-plus"></span>&nbsp;&nbsp;New Estoque'), array('controller' => 'estoques', 'action' => 'add'), array('escape' => false)); ?> </li>
							</ul>
						</div>
					</div>
				</div>			
		</div><!-- end col md 3 -->
		<div class="col-md-9">
			<?php echo $this->Form->create('Produto', array('role' => 'form')); ?>
				<div class="row">
					<div class="form-group col-md-12">
						<?php echo $this->Form->input('nome', array('class' => 'form-control', 'placeholder' => 'Nome do Produto'));?>
					</div>
				</div>
				<div class="row">
					<div class="form-group col-md-3">
						<?php echo $this->Form->input('preco_venda', array('label' => 'Preço de Venda', 'class' => 'form-control', 'placeholder' => '000.00'));?>
					</div>
					<div class="form-group col-md-3">
						
						<?php echo $this->Form->input('estoque_minimo', array('label' => 'Estoque Mínimo', 'class' => 'form-control', 'placeholder' => '00'));?>
					</div>
					<div class="form-group col-md-3">
						<?php echo $this->Form->input('estoque_maximo', array('label' => 'Estoque Máximo', 'class' => 'form-control', 'placeholder' => '00'));?>
					</div>
					
				</div>
				<div class="row">
					<div class="form-group col-md-4">
						<?php echo $this->Form->input('tipo_produto_id', array('label' => 'Tipo de Produto', 'class' => 'form-control', 'placeholder' => 'Tipo Produto Id'));?>
					</div>
					<div class="form-group col-md-4">
						<?php echo $this->Form->input('unidade_id', array('class' => 'form-control', 'placeholder' => 'Unidade Id'));?>
					</div>
					<div class="form-group col-md-4">
						<?php echo $this->Form->input('fornecedore_id', array('label' => 'Fornecedor', 'class' => 'form-control', 'placeholder' => 'Fornecedor Id'));?>
					</div>
				</div>
				<div class="form-group">
					<?php echo $this->Form->submit(__('Salvar'), array('class' => 'btn btn-default')); ?>
				</div>

			<?php echo $this->Form->end() ?>

		</div><!-- end col md 12 -->
	</div><!-- end row -->
</div>
